Ext.define('TS.view.inv.InventoryInfo', {
    extend: 'Ext.panel.Panel',
    alias : 'widget.inventoryinfo',
    margins : '0 0 0 0',
    title : '商品库存',
    layout:'fit',
    hideBorders: true,
    bodyPadding:0,
    initComponent: function() {
    	var indlst=Ext.create('TS.view.base.InvAddsList',{closable : false});
    	indlst.store.load();
        this.items = [
            {
                xtype: 'panel',
                layout: 'border',
                items: [
                    Ext.create('Ext.tab.Panel',{
                    	region:'west',
                    	margins : '0 0 -1 0',
			            border : false,
			            enableDD : true,
			            //split: true,
			            width : 150,
			            minSize : 100,
			            bodyPadding:0,
			            maxSize : 300,
			            rootVisible: false,
			            containerScroll : true,
			            collapsible : true,
			            autoScroll: true,
			            items:[
			            	Ext.create('TS.view.base.ProductClassifyTree'),
			            	indlst
			            ]
                    }),
                    Ext.create('TS.view.inv.InventoryList',{closable : false,region:'center'})
     			]
            }],
        this.callParent(arguments);
    }
});